<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动布局练习</title>
    <style>
        .box {
            width: 1200px;
            height: 700px;
            background-color: plum;
            margin: 0 auto;
        }
        
        .left {
            float: left;
            width: 200px;
            height: 700px;
            background-color: purple;
        }
        
        .right {
            float: right;
            width: 1000px;
            height: 700px;
            background-color: darkturquoise;
        }
        
        .right>div {
            float: left;
            width: 300px;
            height: 200px;
            background-color: goldenrod;
            margin-left: 10px;
            margin-top: 20px;
            margin-bottom: 10px;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="left"></div>
        <div class="right">
            <div>1</div>
            <div>2</div>
            <div>3</div>
            <div>4</div>
            <div>5</div>
            <div>6</div>
            <div>7</div>
            <div>8</div>
            <div>9</div>
        </div>
    </div>
</body>

</html>